package com.lxy.demo.service;

import com.lxy.demo.dao.EdocEntryDao;
import com.lxy.demo.dao.EdocEntryDaoImpl;
import com.lxy.demo.entity.EdocEntry;

import java.util.List;

public class EdocEntryServiceImpl implements EdocEntryService{
    static EdocEntryDao ee = new EdocEntryDaoImpl();
    @Override
    public List<EdocEntry> findEdocEntry(String id) {
        return ee.findEdocEntry(id);
    }

    @Override
    public boolean insertInfo(EdocEntry edocEntry) {
        return ee.insertInfo(edocEntry)>0?true:false;
    }


}
